package com.pig4cloud.pig.demo.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pig4cloud.pig.demo.feign.Entity.Purchase;
import com.pig4cloud.pig.demo.feign.vo.PurchaseVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PurchaseMapper extends BaseMapper<Purchase> {
    /**
     * 根据用户id查询购车信息
     * @param id
     * @return
     */
    public List<PurchaseVO> queryPurchaseList(@Param("id") Long id);
}
